package org.jeecg.modules.travel.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.travel.entity.JhSlideshow;
import org.jeecg.modules.travel.vo.slideshow.AppSlideshowRecordVo;
import org.jeecg.modules.travel.vo.slideshow.PcSlideshowRecordVo;

import java.util.List;

public interface JhSlideshowMapper extends BaseMapper<JhSlideshow> {
    IPage<PcSlideshowRecordVo> queryPage(Page<JhSlideshow> page, @Param(Constants.WRAPPER) QueryWrapper<JhSlideshow> queryWrapper);

    IPage<AppSlideshowRecordVo> bappQueryList(Page<JhSlideshow> page, @Param(Constants.WRAPPER) QueryWrapper<JhSlideshow> queryWrapper);

}
